﻿
namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 产能报表
    /// </summary>
    [SugarTable("cks_capacityreport")]
    [Table(Name = "cks_capacityreport")]
    public class CksCapacityreport : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 统计日期 
        /// </summary>
        public DateTime StatDate { get; set; }

        public string StatDayKey {  get; set; }
        /// <summary>
        /// 投入数量 
        /// </summary>
        public int InputNum { get; set; }

        /// <summary>
        /// 产出数量 
        /// </summary>
        public int Output { get; set; }

        /// <summary>
        /// 良率 
        /// </summary>
        public decimal YieldRate { get; set; }

        /// <summary>
        /// 禁用状态 
        /// </summary>
        public bool Nullity { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreatedTime { get; set; } = DateTime.Now;

       

    }
}